package com.fzu.commonutil.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 *
 * @author IT00ZYQ
 * @date 2021/4/5 12:32
 **/
@AllArgsConstructor
@Getter
public enum OrderStateEnum {

    /**
     * 枚举信息
     */
    WAIT_ACCEPT(1, "待接单"),
    WAIT_PAY(2, "待支付"),
    WAIT_START(3, "待服务"),
    PROCESSING(4, "服务中"),
    WAIT_CONFIRM(5,"待确认"),
    FINISHED(6, "已完成"),
    CLOSED(7, "已关闭"),
    WAIT_ACCEPT_CANCEL(10, "已取消"),
    WAIT_PAY_CANCEL(11, "已取消"),
    WAIT_START_CANCEL(12, "已取消");

    private Integer code;
    private String message;

}
